let engine = require('nunjucks')
let fs = require('fs')


engine.configure('D:\\courseview\\project-node\\dongbb-coder\\templates\\dongbb\\',
                { autoescape: true });

let result = engine.render('Model.java',
    { className: 'SysDict' });

fs.writeFileSync('D:\\Model.java', result)